// ignore_for_file: constant_identifier_names

import 'package:flutter/material.dart';

String home = 'Home';

const AppStoreID = "6463350860";

const kHomeRefresh = "kHomeRefresh"; // 通知首页刷新,事件通知key


const kStoreChange = 'shop_change'; // 店铺切换
const kUserAccountUpdate = 'kUserAccountUpdate'; // 更新用户资料

// 屏幕宽高
double screenWidth(BuildContext context) => MediaQuery.of(context).size.width;
double screenHeight(BuildContext context) => MediaQuery.of(context).size.height;
double navigationH(BuildContext context) => MediaQuery.of(context).padding.top;
double tabBarH(BuildContext context) => MediaQuery.of(context).padding.bottom;

/*顶部安全区域远离高度*/
const TopSafeHeight = 44.0;
/*底部安全区域远离高度*/
const BottomSafeHeight = 34.0;
/*状态栏高度*/
const StatusBarHeight = 44.0;
/*导航栏高度*/
const NavBarHeight = 44 + TopSafeHeight;
/*TabBar高度*/
const TabBarHeight = 49.0 + BottomSafeHeight;
